package lanqiao;

import java.util.Scanner;

public class test4 {
    //253
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        //在此输入您的代码...
        int num = scan.nextInt();

        boolean flagf = num % 3 == 0;
        boolean flagb = num % 5 == 0;

        if (flagf && flagb) {
            System.out.print("FizzBuzz");
            System.exit(0);
        }
        if (flagf) {
            System.out.print("Fizz");
        }
        if (flagb) {
            System.out.print("Buzz");
        }

        if (!flagf && !flagb) {
            System.out.print(num);
        }


        scan.close();
    }
}
